package com.hospital.registration.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.common.dto.RegistrationDto;
import com.hospital.registration.entity.Registration;
import com.hospital.registration.mapper.RegistrationMapper;
import com.hospital.registration.service.IRegistrationService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 挂号记录表 服务实现类
 * </p>
 *
 * @author 史永康
 * @since 2020-10-22
 */
@Service
public class RegistrationServiceImpl extends ServiceImpl<RegistrationMapper, Registration> implements IRegistrationService {

    @Override
    public IPage<Registration> findall(Page page, RegistrationDto registrationDto) {
        return baseMapper.findall(page,registrationDto);
    }
}
